package com.sysh.service.impl;

import com.sysh.entity.Banners;
import com.sysh.mapper.BannersMapper;
import com.sysh.service.BannersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:  <br/>
 * Function: 功能<br/>
 * date: 2018年01月15日  <br*
 * @author 苏积钰
 * @since JDK 1.8
 */
@Service
public class BannersServiceImpl implements BannersService {

    @Autowired
    private BannersMapper bannersMapper;

    public List<Banners> findAll() {
        return bannersMapper.findAll();
    }
}
